package lilei;

import javax.sound.midi.Soundbank;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

/**
 * Created by lilei on 2015/8/3.
 */
public class UserImpl implements User {
    //该段测试install到本地仓库的jar会不会自动更新--结果不会自动更新
    public void testExsits() {}
    public void test2(){}
    public UserImpl() {

    }
    Integer a;
    @Override
    public void name() {
        testRefactor();
    }

    private void testRefactor() {
        System.out.println("name is a");
    }
    public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
        UserImpl test = (UserImpl)Class.forName(UserImpl.class.getName()).newInstance();
        UserImpl b = new UserImpl();
        if(true) {
            System.out.println("可以比较");
        }
        List<Integer> ba = new ArrayList();
        UserImpl2 kk = new UserImpl2();
        kk.getaa(ba);
        UserImpl2<String> ka = new UserImpl2<String>();
//        ka.getbb(ba);
//        kk.getbb(ba);
//        UserImpl2.<String>getaa(ba);
    }


    public static void getaa(Collection<String> aa) {

    }
}
